home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
komunikace
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Show Time 2.sd
< prev
next >
Wrap
INI File
|
2006-09-13
|
803b
|
43 lines
[SUBJECT]
Description=Display the current time (2nd variant)
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- begin script
;var ddt2, delay;
;function debuteTemps2() {
; var hhmmss = " ", mymin, sec;
; delay = `delay`;
;
; adate = new Date();
; hhmmss += adate.getHours();
; mymin = adate.getMinutes();
; if (mymin < 10) hhmmss += ":0" + mymin;
; else hhmmss += ":" + mymin;
; hhmmss = " " + hhmmss;
; document.Temps12.heure.value = hhmmss;
;
; ddt2 = setTimeout("debuteTemps2(delay)",delay);
;}
;// end script -->
;</script>
;
[BODY_TAG]
;onLoad="debuteTemps2()" onUnload="clearTimeout(ddt2)"
[BODY_TEXT]
;<form name="Temps12">
;<input type="text" name="heure" size="9"><br>
;</form>
[`delay`]
Kind=N
Value=1000